Skip to content

target: add -Zunstable-options when querying cfg#587

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
DeepeshWR:fix/custom-target-cfg-unstable-options
Apr 23, 2026
Merged

target: add -Zunstable-options when querying cfg#587
davidhewitt merged 1 commit intoPyO3:mainfrom
DeepeshWR:fix/custom-target-cfg-unstable-options

Conversation

@DeepeshWR
Copy link
Copy Markdown
Contributor

Since Rust 1.95,invoking rustc with --target requires
-Zunstable-options when used with custom JSON targets.
Without this flag, the command fails.

Reference:
rust-lang/rust@b4e645f rust-lang/rust@8563312

@DeepeshWR DeepeshWR force-pushed the fix/custom-target-cfg-unstable-options branch from 4faa19e to eec7c0c Compare April 22, 2026 05:22
Since Rust 1.95,invoking rustc with --target requires
 -Zunstable-options when used with custom JSON targets.
Without this flag, the command fails.

Reference:
rust-lang/rust@b4e645f
rust-lang/rust@8563312

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
@DeepeshWR DeepeshWR force-pushed the fix/custom-target-cfg-unstable-options branch from eec7c0c to a9587ca Compare April 22, 2026 09:49
Copy link
Copy Markdown
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@davidhewitt davidhewitt merged commit 0c84736 into PyO3:main Apr 23, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants